import { ProLayoutProps } from '@ant-design/pro-components';

/**
 * @name
 */
const Settings: ProLayoutProps & {
  pwa?: boolean;
  logo?: string;
} = {
  navTheme: 'light',
  // 拂晓蓝
  // colorPrimary: '#1890ff',
  colorPrimary: '#52C41A',
  layout: 'mix',
  contentWidth: 'Fluid',
  fixedHeader: false,
  fixSiderbar: true,
  colorWeak: false,
  // title: 'Ant Design Pro',
  title: 'AI 农场',
  pwa: true,
  // logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
  logo: '/logo.svg',
  iconfontUrl: '',
  token: {
    // 参见ts声明，demo 见文档，通过token 修改样式
    //https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F
       header:{
           colorBgHeader: "#52C41A",   //header的背景颜色
           colorHeaderTitle:"#FFFFFF", //sider的标题字体颜色
      
           //文本
           colorTextMenu:"rgba(255,255,255, 0.70)", //menuItem的字体颜色
           colorTextMenuSelected:"rgb(255,255,255)", //menuItem的选中字体颜色
           colorTextMenuActive:"rgb(255,255,255)", //menuItem的hover字体颜色
      
           colorBgMenuItemHover:"rgba(19,82,0, 0.03)",//menuItem的hover 背景颜色
           colorBgMenuItemSelected:"rgba(19,82,0, 0.03)",//menuItem 的选中背景颜色
          },
  },
  "splitMenus": true,
};

export default Settings;
